﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaxiService.Model
{
  public class CallOperator : IEntity, IEventHandler<AvailableDriverFound>
  {
    public CallOperator(IRadioService radioService)
    {
      RadioService = radioService;
    }

    public IRadioService RadioService { get; private set; }

    public virtual void AcceptCallFrom(Client client)
    {
      Location source = client.Source;
    }

    #region IEventHandler<object> Members

    public void Handle(object args)
    {
      throw new NotImplementedException();
    }

    #endregion

    #region IEventHandler<AvailableDriverFound> Members

    public void Handle(AvailableDriverFound args)
    {
      throw new NotImplementedException();
    }

    #endregion

    public int Id
    {
      get { throw new NotImplementedException(); }
    }
  }
}
